/*
* Copyright 2024 NXP
* NXP Confidential and Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
* comply with and are bound by, such license terms.  If you do not agree to be bound by the applicable license
* terms, then you may not retain, install, activate or otherwise use the software.
*/

#ifndef GUI_GUIDER_H
#define GUI_GUIDER_H
#ifdef __cplusplus
extern "C" {
#endif

#include "lvgl.h"

typedef struct
{
  
	lv_obj_t *screen_content;
	bool screen_content_del;
	lv_obj_t *screen_content_img_main;
	lv_obj_t *screen_content_btn_background;
	lv_obj_t *screen_content_btn_background_label;
	lv_obj_t *screen_content_btn_pinyin;
	lv_obj_t *screen_content_btn_pinyin_label;
	lv_obj_t *screen_content_btn_widget;
	lv_obj_t *screen_content_btn_widget_label;
	lv_obj_t *screen_content_btn_panel;
	lv_obj_t *screen_content_btn_panel_label;
	lv_obj_t *screen_panel;
	bool screen_panel_del;
	lv_obj_t *screen_panel_img_panel;
	lv_obj_t *screen_panel_meter_panel;
	lv_meter_indicator_t *screen_panel_meter_panel_scale_1_ndline_0;
	lv_obj_t *screen_widget;
	bool screen_widget_del;

	lv_obj_t *screen_widget_btn_on;
	lv_obj_t *screen_widget_btn_on_label;
	lv_obj_t *screen_widget_btn_off;
	lv_obj_t *screen_widget_btn_off_label;
	lv_obj_t *screen_widget_label_switch;
	lv_obj_t *screen_widget_bar_progress;
	lv_obj_t *screen_widget_slider_show;
	lv_obj_t *screen_widget_ddlist_show;
	lv_obj_t *screen_widget_digital_clock_time;
	lv_obj_t *screen_widget_qrcode_barcode;
	lv_obj_t *screen_widget_label_slider;
	lv_obj_t *screen_widget_label_progress;
	lv_obj_t *screen_widget_label_ddlist;
	lv_obj_t *screen_widget_label_datetime;
	lv_obj_t *screen_widget_label_barcode;
	lv_obj_t *screen_widget_label_textshow;
	lv_obj_t *screen_widget_label_text;
	lv_obj_t *screen_widget_btn_return;
	lv_obj_t *screen_widget_btn_return_label;
	lv_obj_t *screen_pinyin;
	bool screen_pinyin_del;
	lv_obj_t *screen_pinyin_btn_return;
	lv_obj_t *screen_pinyin_btn_return_label;
	lv_obj_t *screen_background;
	bool screen_background_del;
	lv_obj_t *screen_background_img_background_2;
	lv_obj_t *screen_background_img_background_1;
	lv_obj_t *screen_background_btn_imageswitch;
	lv_obj_t *screen_background_btn_imageswitch_label;
	lv_obj_t *screen_background_btn_return;
	lv_obj_t *screen_background_btn_return_label;
}lv_ui;

void ui_init_style(lv_style_t * style);
void init_scr_del_flag(lv_ui *ui);
void setup_ui(lv_ui *ui);
extern lv_ui guider_ui;

void setup_scr_screen_content(lv_ui *ui);
void setup_scr_screen_panel(lv_ui *ui);
void setup_scr_screen_widget(lv_ui *ui);
void setup_scr_screen_pinyin(lv_ui *ui);
void setup_scr_screen_background(lv_ui *ui);
LV_IMG_DECLARE(_6_2_480x320);
LV_IMG_DECLARE(_0_3_480x320);
LV_IMG_DECLARE(_5_1_60x60);
LV_IMG_DECLARE(_5_1_60x60);
LV_IMG_DECLARE(_4_5_480x320);
LV_IMG_DECLARE(_3_3_480x320);

LV_FONT_DECLARE(lv_font_simsun_20)
LV_FONT_DECLARE(lv_font_montserratMedium_16)
LV_FONT_DECLARE(lv_font_montserratMedium_12)
LV_FONT_DECLARE(lv_font_simsun_16)


#ifdef __cplusplus
}
#endif
#endif
